package com.example.datasourcedemo.entity;

public class Demo2 extends DemoVo{

    private int errorCount;

    private int successCount;

    private String upTime;

    public Demo2(String userName, String downReaso, String downTime, int errorCount, int successCount) {
        super(userName, downReaso, downTime);
        this.errorCount = errorCount;
        this.successCount = successCount;
    }

    public Demo2(int errorCount, int successCount) {
        this.errorCount = errorCount;
        this.successCount = successCount;
    }

    public Demo2(String userName, String downReaso, String downTime, int errorCount, int successCount, String upTime, int money) {
        super(userName, downReaso, downTime, money);
        this.errorCount = errorCount;
        this.successCount = successCount;
        this.upTime = upTime;
    }

    public int getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(int errorCount) {
        this.errorCount = errorCount;
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public String getUpTime() {
        return upTime;
    }

    public void setUpTime(String upTime) {
        this.upTime = upTime;
    }
}
